package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.dto.SetmealDto;
import com.itheima.entity.Setmeal;

import java.util.List;

/**
 * @Auther: guozy
 * @Date: 2022/7/31 - 07 - 31 - 9:46
 * @Description: com.itheima.service
 * @version: 1.0
 */
public interface SetmealService extends IService<Setmeal> {

    /**
     * 保存套餐表Setmeal,和套餐菜品关系表SetmealDish
     * @param setmealDto
     */
    void saveWithSetmealDish(SetmealDto setmealDto);

    void removeWithSetmealDish(List<Long> ids);
}
